﻿using Colorful.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace Colorful.Apps.ERP.Models
{
    /// <summary>
    /// 客户表
    /// </summary>
    public class Client : BaseId
    {
        /// <summary>
        /// 上级代理（下拉框：从Colorful.Apps.Models.Member读取）
        /// </summary>
        public string AgentId { get; set; }
        /// <summary>
        /// 代理级别
        /// </summary>
        public List<string> Agents { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 客户昵称
        /// </summary>
        public string Nickname { get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        public ClientType Type { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// OpenId
        /// </summary>
        public string OpenId { get; set; }
        /// <summary>
        /// 照片
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 微信号
        /// </summary>
        public string WeChat { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        public long Point { get; set; }
        /// <summary>
        /// QQ号
        /// </summary>
        public string QQ { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
